package com.zyj.business.configuration;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.zyj.business.commonality.common.BootstrapConfig;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @author yicky zhang
 * @create 2018-03-19 15:13
 * @desc
 **/
@SpringBootApplication
@EnableConfigServer
public class Application {
    static {
        BootstrapConfig.loadConfig();
    }

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
